package com.jianyun.jyzs.dao;

import android.content.Context;

/**
 * Created by mlli on 2017/12/12.
 */

public class ModelTools {
    public static void clearNotify(Context context,String userId, String enterpriseCode, String title){
        ModelDao dao = new ModelDao(context);
        ItemModel model = dao.getModel(userId, enterpriseCode, title);
        if (model!=null){
            model.setUnRead(false);
            dao.update(model);
        }
    }
}
